<div class="admin">
    <div class="tab panel dux-box admin-panel">
        <div class="panel-head"><strong>商品购买记录</strong></div>
        <div class="padding border-bottom">
            <a href="{:U('Statistics/goods')}" class="button button-small border-green">返回销售排行</a>
        </div>
        <table class="table tb-type2">
            <thead>
                <tr class="thead">
                    <th class="align-center">序号</th>
                    <th>图片</th>
                    <th>标题</th>
                    <th class="align-center">单价</th>
                    <th class="align-center">购买数量</th>
                    <th class="align-center">收货人</th>
                    <th class="align-center">电话</th>
                    <th class="align-center">地址</th>
                    <th class="align-center">详细地址</th>
                </tr>
            </thead>
            <tbody>
            <foreach item="v" name="goods" key='k'>
                <tr class="hover" style="background: rgb(255, 255, 255);">
                    <td class="w48 sort"><p class="button bg-dot">{$k+1+$p*15}</p></td>
                    <td><a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank"><img src="{$v['goods_image']}!100x100" height="40" width="40" /></a></td>
                    <td><a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank">{$v['goods_title']}</a></td>
                    <td class="w150 align-center">{$v['goods_price']}</td>
                    <td class="w150 align-center">{$v['goods_num']}</td>
                    <td class="w150 align-center">{$v['true_name']}</td>
                    <td class="align-center">{$v['mob_phone']}</td>
                    <td class="align-center">{$v['area_info']}</td>
                    <td class="align-center">{$v['address']}</td>
                </tr>
            </foreach>
            </tbody>
            <tfoot>
                <tr class="tfoot">
                    <td colspan="9">
                        <div class="pagination"><div class="pages clearfix">{$pages}</div></div>
                    </td>
                </tr>
            </tfoot>
        </table>
    </div>
</div>
<script type="text/javascript">
    $('#myform').layer({
        actionUrl: "batchAction",
        deleteUrl: "del",
    });
</script>